Change the default value of GtkWidget:can-focus
authorMatthias Clasen <mclasen@redhat.com>
Wed, 8 Apr 2020 11:40:48 +0000 (07:40 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 9 Apr 2020 21:50:29 +0000 (17:50 -0400)
commit22e1827f840044ac19c5a090af8511fe37ffcab7
tree0c16ad8d888188811b057cbf564b1b33b1034834
parent3c39613d9c697d61a6e0c563d587c533e7a3bf52
Change the default value of GtkWidget:can-focus

Make widgets can-focus by default, and change the semantics
of can-focus to be recursive . If it is set to FALSE, focus
can not enter the widget or its descendents at all anymore.

This commit temporarily breaks focus behavior of widgets
that did not expect to receive focus.
demos/gtk-demo/fontplane.c
gtk/gtkbutton.c
gtk/gtkcolorplane.c
gtk/gtkexpander.c
gtk/gtkiconview.c
gtk/gtklistbox.c
gtk/gtknotebook.c
gtk/gtktreeview.c
gtk/gtkwidget.c